#import "CDKMarketv1BannergetadofmainModel.h"

@interface CDKMarketv1BannergetadofmainModel ()

@property (nonatomic, strong) NSMutableDictionary *param;

@end

@implementation CDKMarketv1BannergetadofmainModel

- (instancetype)initWithParam:(NSMutableDictionary *)param {      

      self = [super init];      

      if (self) { 
          self.param = [NSMutableDictionary dictionaryWithDictionary:param]; 
          self.isAutoShowLoading = YES; 
          self.isAutoShowBusinessErrorToast = YES; 
          self.parseCls = [CDKMarketv1BannergetadofmainItem class]; 
      } 
      return self;
}      

- (NSString *)requestUrl { 
      return KMarketv1BannergetadofmainAddress; 
}

- (YTKRequestMethod)requestMethod { 
      return YTKRequestMethodPOST;
}

- (id)requestArgument { 
      return self.param; 
}

- (void)handleDataToMarketv1Bannergetadofmain {

    NSMutableDictionary *params = [NSMutableDictionary new];

    [[[CDKMarketv1BannergetadofmainModel alloc] initWithParam:params] startWithCompletionBlockWithSuccess:^(__kindof CDKMarketv1BannergetadofmainItem *item) {

        NSLog(@"%@",item);

    } failure:^(__kindof NSError *error) {

    }];
}


@end